<template>
  <div class="notice">
    <ArticleTitle class="notice_title">
      <template v-slot:title>公告</template>
      <template>
        <svg class="icon gonggao" aria-hidden="true">
          <use xlink:href="#icon-gonggao"></use>
        </svg>
      </template>
    </ArticleTitle>
    <div class="notice_info">欢迎来到我的个人博客~</div>
  </div>
</template>

<script setup>
  import ArticleTitle from '@/components/ArticleTitle.vue'
</script>

<style lang="less" scoped>
  .notice {
    width: 100%;
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 26px;
    margin-top: 30px;
    .notice_title {
      font-size: 20px;
      margin: 0;
      margin-bottom: 16px;
    }
    .notice_info {
      font-size: 14px;
      line-height: 1.5;
    }
  }
</style>
